package org.ccheng.xztx.domain;

import lombok.Data;
import org.ccheng.common.annotation.Attribute;
import org.ccheng.common.annotation.AttributeId;
import org.ccheng.common.annotation.AttributeType;

@Data
public class UserInfo {

    @AttributeId
    @Attribute(key = "ID:", type = AttributeType.NUM_REGEX)
    private String id;

    @Attribute(key = "昵称:", type = AttributeType.USERNAME_REGEX)
    private String username;

    @Attribute(key = "等级:", type = AttributeType.LEVEL_REGEX)
    private String level;

    @Attribute(key = "境界:", type = AttributeType.JOB_NAME_REGEX)
    private String jobName;

    @Attribute(key = "性别:", type = AttributeType.SEX_REGEX)
    private String sex;

    @Attribute(key = "生命:", type = AttributeType.NUM_REGEX)
    private String healthPoint;

    @Attribute(key = "仙气:", type = AttributeType.NUM_REGEX)
    private String magicPoint;

    @Attribute(key = "攻击:", type = AttributeType.NUM_REGEX)
    private String attack;

    @Attribute(key = "防御:", type = AttributeType.NUM_REGEX)
    private String defence;

    @Attribute(key = "灵元:", type = AttributeType.NUM_REGEX)
    private String skillPoint;

    @Attribute(key = "银两:", type = AttributeType.NUM_REGEX)
    private String money;

    @Attribute(key = "耐力:", type = AttributeType.VALUE_REGEX)
    private String vigourView;

    @Attribute(key = "耐力:", type = AttributeType.NUM_LEFT_REGEX, view = false)
    private String vigour;

    @Attribute(key = "耐力:", type = AttributeType.NUM_RIGHT_REGEX, view = false)
    private String vigourMax;

    @Attribute(key = "群修会:", type = AttributeType.A_TAG_REGEX)
    private String groupName;

    private String experience;

}
